﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 非药品退费申请表
    /// </summary>
    public partial class ApplicationRefundForm
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 处方ID
        /// </summary>
        public long RecipeId { get; set; }
        /// <summary>
        /// 处方明细ID
        /// </summary>
        public long RecipeDetailId { get; set; }
        /// <summary>
        /// 处方类别
        /// </summary>
        public int RecipeCategory { get; set; }
        /// <summary>
        /// 退费明细数量
        /// </summary>
        public decimal RefundNum { get; set; }
        /// <summary>
        /// 退费原因
        /// </summary>
        public string? Reason { get; set; }
        /// <summary>
        /// 申请单ID
        /// </summary>
        public long? ApplyId { get; set; }
        /// <summary>
        /// 退费申请单数量
        /// </summary>
        public decimal? ApplyNum { get; set; }
        /// <summary>
        /// 院区id
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 申请状态 1:已申请 3:已退费  4:退费申请已确认待退费 5:退费申请已拒绝
        /// </summary>
        public string ApplyStatus { get; set; } = null!;
        /// <summary>
        /// 退费类型 1西药 2草药 3检查非申请单项目 4检验非申请单项目 5治疗项目 6检查申请单项目 7检验申请单项目 8手术申请单项目
        /// </summary>
        public int RefundType { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public int? UpdateBy { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
}
